﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Gma.QrCodeNet.Encoding.Windows.WinRT">
    <Style TargetType="local:QrCodeGeoControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:QrCodeGeoControl">
                    <Border Width="Auto"
                            Height="Auto"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"
                            Margin="0"
                            Background="{TemplateBinding LightBrush}"
                            BorderBrush="{TemplateBinding LightBrush}">
                        <Path Data="{TemplateBinding PathGeometry}"
                              Fill="{TemplateBinding DarkBrush}"
                              Stretch="Uniform"
                              Margin="{TemplateBinding Padding}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
